package com.esgpro.esg_api.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode
@NoArgsConstructor
@TableName("data_type")
@ApiModel("数据类别类")
public class DataType {
    @ApiModelProperty("索引")
    private Integer id;
    @ApiModelProperty("数据分类")
    private String name;//年报，新闻，碎片化信息分类

    public DataType(Integer id, String name) {
        this.id = id;
        this.name = name;

    }

}
